package com.zhuojy.equity.mall.admin.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhuojy.equity.mall.admin.common.entity.TFlow;
import com.zhuojy.equity.mall.admin.common.entity.vo.TFlowExportEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TFlowMapper extends BaseMapper<TFlow> {
    /**
     * 资金流水条查分页
     * @param tFlow
     * @param page
     * @return
     */
    IPage<TFlow> findflowPagination(@Param("tFlow") TFlow tFlow, Page<TFlow> page);

    /**
     * 资金流水导出
     * @return
     */
    List<TFlowExportEntity> getTFlowExportEntity();

    /**
     * 资金流水下拉列表框
     * @return
     */
    List<TFlow> findoptions();
}
